package cn.sjx.org.service;

import cn.sjx.basic.service.BasicService;
import cn.sjx.basic.utils.PageList;
import cn.sjx.org.domain.Department;
import cn.sjx.org.query.DepartmentQuery;

import java.io.Serializable;
import java.util.List;

public interface DepartmentService extends BasicService<Department> {

    PageList<Department> pageList(DepartmentQuery departmentQuery);

    List<Department> tree();
}
